package org.jeecg.modules.online.desform.excel.converter.impl;

import org.jeecg.modules.online.desform.excel.converter.ConvertUtil;
import org.jeecg.modules.online.desform.vo.widget.DesformWidget;

import java.util.Arrays;

/**
 * select-user 用户转换器
 */
public class SelectUserConverter extends JeecgBizConvert {


    public SelectUserConverter(DesformWidget widget) {
        super(widget,
                ConvertUtil.USER_TABLE_NAME,
                ConvertUtil.USER_REAL_NAME,
                // 用户组件允许翻译的字段有：id、username
                Arrays.asList(ConvertUtil.ID_NAME, ConvertUtil.USER_LOGIN_NAME)
        );
    }

}
